<%--@elvariable id="sodaParameter" type="com.infitecs.eyas.boiler.model.SodaParameter"--%>
<%--
  Created by IntelliJ IDEA.
  User: Demon
  Date: 2015/5/13
  Time: 10:44
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <%@include file="../includes/head.jsp" %>
    <title>${menu.menuName}</title>
</head>
<body class="page-header-fixed page-quick-sidebar-over-content">
<%@include file="../includes/top.jsp" %>
<div class="page-container">
    <%@include file="../includes/sidebar.jsp" %>
    <div class="page-content-wrapper">
        <div class="page-content">
            <%@include file="../includes/current.jsp" %>
            <div class="row">
                <div class="col-md-12">
                    <div class="portlet box">
                        <div class="portlet-body form">
                            <div class="form-body">
                                <!--BEGIN COL 1-->
                                <div class="col-md-3">
                                    <div class="col-md-12 margin-bottom-10">
                                        <div class="form-group">
                                            <label class="aTypeStyle control-label col-md-3"
                                                   style="padding-left: 0px; padding-right: 0px;" for="E3">
                                                过热蒸汽流量Dgr
                                            </label>

                                            <div class="col-md-9">
                                                <input type="text" class="form-control input-inline"
                                                       id="E3" value="${sodaParameter==null?"":sodaParameter.dgrShow}">
														<span class="help-inline">
														t/h</span>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="col-md-12 margin-bottom-10">
                                        <div class="form-group">
                                            <label class="aTypeStyle control-label col-md-3"
                                                   style="padding-left: 0px; padding-right: 0px;" for="E4">
                                                过热蒸汽压力Pgr
                                            </label>

                                            <div class="col-md-9">
                                                <input type="text" class="form-control input-inline"
                                                       id="E4" value="${sodaParameter==null?"":sodaParameter.pgrShow}">
														<span class="help-inline">
														Mpa </span>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="col-md-12 margin-bottom-10">
                                        <div class="form-group">
                                            <label class="aTypeStyle control-label col-md-3"
                                                   style="padding-left: 0px; padding-right: 0px;" for="E5">
                                                过热蒸汽温度Tgr
                                            </label>

                                            <div class="col-md-9">
                                                <input type="text" class="form-control input-inline"
                                                       id="E5" value="${sodaParameter==null?"":sodaParameter.tgrShow}">
														<span class="help-inline">
														℃ </span>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="col-md-12 margin-bottom-10">
                                        <div class="form-group">
                                            <label class="control-label col-md-3"
                                                   style="padding-left: 0px; padding-right: 0px;" for="E6">
                                                过热蒸汽比焓igr
                                            </label>

                                            <div class="col-md-9">
                                                <input type="text" class="form-control input-inline" readonly
                                                       id="E6" value="${sodaParameter==null?"":sodaParameter.igrShow}">
														<span class="help-inline">
                                                            KJ/Kg  </span>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="col-md-12 margin-bottom-10">
                                        <div class="form-group">
                                            <label class="aTypeStyle control-label col-md-3"
                                                   style="padding-left: 0px; padding-right: 0px;" for="E7">
                                                给水压力Pgs
                                            </label>

                                            <div class="col-md-9">
                                                <input type="text" class="form-control input-inline"
                                                       id="E7" value="${sodaParameter==null?"":sodaParameter.pgsShow}">
														<span class="help-inline">
														Mpa </span>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="col-md-12 margin-bottom-10">
                                        <div class="form-group">
                                            <label class="aTypeStyle control-label col-md-3"
                                                   style="padding-left: 0px; padding-right: 0px;" for="E8">
                                                给水温度Tgs
                                            </label>

                                            <div class="col-md-9">
                                                <input type="text" class="form-control input-inline"
                                                       id="E8" value="${sodaParameter==null?"":sodaParameter.tgsShow}">
														<span class="help-inline">
														℃ </span>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="col-md-12 margin-bottom-10">
                                        <div class="form-group">
                                            <label class="control-label col-md-3"
                                                   style="padding-left: 0px; padding-right: 0px;" for="E9">
                                                给水比焓igs
                                            </label>

                                            <div class="col-md-9">
                                                <input type="text" class="form-control input-inline"
                                                   readonly    id="E9" value="${sodaParameter==null?"":sodaParameter.igsShow}">
														<span class="help-inline">
														KJ/Kg </span>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <!--END COL 1-->
                                <!--BEGIN COL 2-->
                                <div class="col-md-3">
                                    <div class="col-md-12 margin-bottom-10">
                                        <div class="form-group">
                                            <label class="control-label col-md-3"
                                                   style="padding-left: 0px; padding-right: 0px;" for="E13">
                                                再热蒸汽流量Dzr
                                            </label>

                                            <div class="col-md-9">
                                                <input type="text" class="form-control input-inline"
                                                       id="E13" value="${sodaParameter==null?"":sodaParameter.dzrShow}">
														<span class="help-inline">
														t/h</span>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="col-md-12 margin-bottom-10">
                                        <div class="form-group">
                                            <label class="control-label col-md-3"
                                                   style="padding-left: 0px; padding-right: 0px;" for="E14">
                                                热再热蒸汽压Pzr
                                            </label>

                                            <div class="col-md-9">
                                                <input type="text" class="form-control input-inline"
                                                       id="E14" value="${sodaParameter==null?"":sodaParameter.pzrShow}">
														<span class="help-inline">
														Mpa </span>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="col-md-12 margin-bottom-10">
                                        <div class="form-group">
                                            <label class="control-label col-md-3"
                                                   style="padding-left: 0px; padding-right: 0px;" for="E15">
                                                热再热蒸汽温度Tzr
                                            </label>

                                            <div class="col-md-9">
                                                <input type="text" class="form-control input-inline"
                                                       id="E15" value="${sodaParameter==null?"":sodaParameter.tzrShow}">
														<span class="help-inline">
														℃ </span>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="col-md-12 margin-bottom-10">
                                        <div class="form-group">
                                            <label class="control-label col-md-3"
                                                   style="padding-left: 0px; padding-right: 0px;" for="E16">
                                                过热蒸汽比焓izr
                                            </label>

                                            <div class="col-md-9">
                                                <input type="text" class="form-control input-inline"
                                                     readonly  id="E16" value="${sodaParameter==null?"":sodaParameter.izrShow}">
														<span class="help-inline">
														KJ/Kg </span>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="col-md-12 margin-bottom-10">
                                        <div class="form-group">
                                            <label class="control-label col-md-3"
                                                   style="padding-left: 0px; padding-right: 0px;" for="E17">
                                                冷再热蒸汽压力Pzr³
                                            </label>

                                            <div class="col-md-9">
                                                <input type="text" class="form-control input-inline"
                                                       id="E17" value="${sodaParameter==null?"":sodaParameter.pzr3Show}">
														<span class="help-inline">
														Mpa </span>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="col-md-12 margin-bottom-10">
                                        <div class="form-group">
                                            <label class="control-label col-md-3"
                                                   style="padding-left: 0px; padding-right: 0px;" for="E18">
                                                冷再热蒸汽温度Tzr³
                                            </label>

                                            <div class="col-md-9">
                                                <input type="text" class="form-control input-inline"
                                                       id="E18" value="${sodaParameter==null?"":sodaParameter.tzr3Show}">
														<span class="help-inline">
														℃ </span>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="col-md-12 margin-bottom-10">
                                        <div class="form-group">
                                            <label class="control-label col-md-3"
                                                   style="padding-left: 0px; padding-right: 0px;"
                                                    for="E19">
                                                再热蒸汽入口比焓izr³
                                            </label>

                                            <div class="col-md-9">
                                                <input type="text" class="form-control input-inline"
                                                    readonly   id="E19" value="${sodaParameter==null?"":sodaParameter.izr3Show}">
														<span class="help-inline">
														KJ/Kg </span>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <!--END COL 2-->
                                <!--BEGIN COL 3-->
                                <div class="col-md-3">
                                    <div class="col-md-12 margin-bottom-10">
                                        <div class="form-group">
                                            <label class="control-label col-md-3"
                                                   style="padding-left: 0px; padding-right: 0px;" for="E10">
                                                汽包压力Pqb
                                            </label>

                                            <div class="col-md-9">
                                                <input type="text" class="form-control input-inline"
                                                       id="E10" value="${sodaParameter==null?"":sodaParameter.pqbShow}">
														<span class="help-inline">
														Mpa</span>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="col-md-12 margin-bottom-10">
                                        <div class="form-group">
                                            <label class="control-label col-md-3"
                                                   style="padding-left: 0px; padding-right: 0px;" for="E11">
                                                汽包温度Tqb
                                            </label>

                                            <div class="col-md-9">
                                                <input type="text" class="form-control input-inline"
                                                       id="E11" value="${sodaParameter==null?"":sodaParameter.tqbShow}">
														<span class="help-inline">
														℃ </span>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="col-md-12 margin-bottom-10">
                                        <div class="form-group">
                                            <label class="control-label col-md-3"
                                                   style="padding-left: 0px; padding-right: 0px;" for="E12">
                                                汽包压力下饱和水比焓iqb
                                            </label>

                                            <div class="col-md-9">
                                                <input type="text" class="form-control input-inline"
                                                   readonly    id="E12" value="${sodaParameter==null?"":sodaParameter.iqbShow}">
														<span class="help-inline">
														KJ/Kg </span>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="col-md-12 margin-bottom-10">
                                        <div class="form-group">
                                            <label class="control-label col-md-3"
                                                   style="padding-left: 0px; padding-right: 0px;" for="E20">
                                                过热器减温水流量Ddes.S
                                            </label>

                                            <div class="col-md-9">
                                                <input type="text" class="form-control input-inline"
                                                       id="E20" value="${sodaParameter==null?"":sodaParameter.ddesSShow}">
														<span class="help-inline">
														t/h </span>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="col-md-12 margin-bottom-10">
                                        <div class="form-group">
                                            <label class="control-label col-md-3"
                                                   style="padding-left: 0px; padding-right: 0px;" for="E21">
                                                过热器减温水压力Pdes.S
                                            </label>

                                            <div class="col-md-9">
                                                <input type="text" class="form-control input-inline"
                                                       id="E21" value="${sodaParameter==null?"":sodaParameter.pdesSShow}">
														<span class="help-inline">
														Mpa</span>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="col-md-12 margin-bottom-10">
                                        <div class="form-group">
                                            <label class="control-label col-md-3"
                                                   style="padding-left: 0px; padding-right: 0px;" for="E22">
                                                过热器减温水温度tdes.S
                                            </label>

                                            <div class="col-md-9">
                                                <input type="text" class="form-control input-inline"
                                                       id="E22" value="${sodaParameter==null?"":sodaParameter.tdesSShow}">
														<span class="help-inline">
														℃ </span>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="col-md-12 margin-bottom-10">
                                        <div class="form-group">
                                            <label class="control-label col-md-3"
                                                   style="padding-left: 0px; padding-right: 0px;" for="E23">
                                                过热器减温水比焓hdes.S
                                            </label>

                                            <div class="col-md-9">
                                                <input type="text" class="form-control input-inline"
                                                    readonly   id="E23" value="${sodaParameter==null?"":sodaParameter.hdesSShow}">
														<span class="help-inline">
														KJ/Kg </span>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <!--END COL 3-->
                                <!--BEGIN COL 4-->
                                <div class="col-md-3">
                                    <div class="col-md-12 margin-bottom-10">
                                        <div class="form-group">
                                            <label class="control-label col-md-3"
                                                   style="padding-left: 0px; padding-right: 0px;" for="E24">
                                                再热器减温水流量Ddes.R
                                            </label>

                                            <div class="col-md-9">
                                                <input type="text" class="form-control input-inline"
                                                       id="E24" value="${sodaParameter==null?"":sodaParameter.ddesRShow}">
														<span class="help-inline">
														t/h</span>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="col-md-12 margin-bottom-10">
                                        <div class="form-group">
                                            <label class="control-label col-md-3"
                                                   style="padding-left: 0px; padding-right: 0px;" for="E25">
                                                再热器减温水压力Pdes.R
                                            </label>

                                            <div class="col-md-9">
                                                <input type="text" class="form-control input-inline"
                                                       id="E25" value="${sodaParameter==null?"":sodaParameter.pdesRShow}">
														<span class="help-inline">
														Mpa </span>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="col-md-12 margin-bottom-10">
                                        <div class="form-group">
                                            <label class="control-label col-md-3"
                                                   style="padding-left: 0px; padding-right: 0px;" for="E26">
                                                再热器减温水温度tdes.R
                                            </label>

                                            <div class="col-md-9">
                                                <input type="text" class="form-control input-inline"
                                                       id="E26" value="${sodaParameter==null?"":sodaParameter.tdesRShow}">
														<span class="help-inline">
														℃ </span>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="col-md-12 margin-bottom-20">
                                        <div class="form-group">
                                            <label class="control-label col-md-3"
                                                   style="padding-left: 0px; padding-right: 0px;" for="E27">
                                                再热器减温水比焓hdes.R
                                            </label>

                                            <div class="col-md-9">
                                                <input type="text" class="form-control input-inline"
                                                    readonly   id="E27" value="${sodaParameter==null?"":sodaParameter.hdesRShow}">
														<span class="help-inline">
														KJ/Kg </span>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="col-md-12 margin-bottom-10">
                                        <div class="form-group">
                                            <label class="control-label col-md-3"
                                                   style="padding-left: 0px; padding-right: 0px;" for="E29">
                                                排污率Dpw
                                            </label>

                                            <div class="col-md-9">
                                                <input type="text" class="form-control input-inline"
                                                       id="E29" value="${sodaParameter==null?"":sodaParameter.dpwShow}">
														<span class="help-inline">
														% </span>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="col-md-12 margin-bottom-10">
                                        <div class="form-group">
                                            <label class="control-label col-md-3"
                                                   style="padding-left: 0px; padding-right: 0px;" for="E30">
                                                连续排污量DBw
                                            </label>

                                            <div class="col-md-9">
                                                <input type="text" class="form-control input-inline"
                                                     readonly  id="E30" value="${sodaParameter==null?"":sodaParameter.dbwShow}">
														<span class="help-inline">
														t/h </span>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <div class="form-body">
                                        <div class="row">
                                            <div class="col-md-4">
                                            </div>
                                            <div class="col-md-6">
                                                <button type="button" class="btn green" id="save"
                                                        onclick="sodaParameter.sodaParameterSave()">确定
                                                </button>
                                                <button type="button" class="btn green" id="nextPage"
                                                        onclick="sodaParameter.sodaParameterNext()">下一页
                                                </button>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <input type="hidden" id="caseId" value="${caseId}" name="caseId">
    <input type="hidden" id="addFlag" value="${sodaParameter==null?"add":"edit"}" name="addFlag">
</div>
<%@include file="../includes/footer.jsp" %>
<%@include file="../includes/bottomscript.jsp" %>
<script type="text/javascript"
        src="<c:url value="/js/bower_components/DataTables/media/js/jquery.dataTables.min.js"/>"></script>
<script type="text/javascript"
        src="<c:url value="/js/global/plugins/datatables/plugins/bootstrap/dataTables.bootstrap.js"/>"></script>
<script type="text/javascript"
        src="<c:url value="/js/bower_components/ztree_v3/js/jquery.ztree.core-3.5.min.js"/>"></script>
<script type="text/javascript"
        src="<c:url value="/js/bower_components/ztree_v3/js/jquery.ztree.excheck-3.5.min.js"/>"></script>
<script src="<c:url value="/js/boiler/gasogene1.js"/>" type="text/javascript"></script>
</body>

<script>
    $(document).ready(function () {
        var caseId = $("#caseId").val();
        var step='<%=request.getAttribute("step")==null?"":request.getAttribute("step")%>'
        if (caseId == ""||step!="") {
            var obj=getUrlByStep(step)
            toast.error(obj.message);
            setTimeout(function () {
                window.location.href = obj.url;
            }, 1200);
        }
        sodaParameter.init();
    })
</script>

<script type="text/javascript">
    $(function () {
        <%
        String message = (String) request.getAttribute("message");
        if(message!=null&&!"".equals(message)){
        if(message.equals("success")){
        %>
        toast.success("操作成功");
        <%
        }else{
        %>
        toast.error("<%=request.getAttribute("message")%>");
        <%
         }
            }
       %>
    });
</script>
</html>
